package com.cloud.school.bus.teacherhelper.protocol.notice;

import java.util.HashMap;

import android.content.Context;
import android.text.TextUtils;

import com.cloud.school.bus.teacherhelper.protocol.ProtocolDef;
import com.cloud.school.bus.teacherhelper.protocol.baserequest.BaseGetHttpRequest;
import com.cloud.school.bus.teacherhelper.protocol.baserequest.BasePostHttpRequest;
/**
 * 老师获得发送的通知列表
 * @author lenovo
 *
 */
public class GetNoticeListRequest extends BaseGetHttpRequest {

	/**
	 * 老师获得发送的通知列表
	 * @param context
	 */
	public GetNoticeListRequest(Context context, String starttime
			, String endtime) {
		super(context);
		HashMap<String, String> requestMap = new HashMap<String, String>();
		if (!TextUtils.isEmpty(starttime)) {
			requestMap.put("starttime", starttime);
		}
		if (!TextUtils.isEmpty(endtime)) {
			requestMap.put("endtime", endtime);
		}
		requestMap.put("checkuserid", "0");
		setRequestParam(ProtocolDef.METHOD_Tnotice, requestMap);
	}
	
}
